#include <stdlib.h>


SLtype GladeXML_Type;
static SLtype Num_New_Opaques_To_Add = 1;

int allocate_glade_opaque_types(void)
{
   Slirp_Opaque_Types = (Slirp_Type**) SLrealloc((char*)Slirp_Opaque_Types,
		(1 + Slirp_Num_Opaque_Types + Num_New_Opaques_To_Add)*
			sizeof(Slirp_Type*));

   if (Slirp_Opaque_Types == NULL) return -1;


   GladeXML_Type = allocate_opaque("GladeXML",
		(FINALIZER)slglade_xml_destroy,
		(SLtype) GObject_Type);
   if (GladeXML_Type == SLANG_UNDEFINED_TYPE) return -1;

   return 0;
}

void patch_glade_ftable(SLang_Intrin_Fun_Type *ftable)
{
   Slirp_patch_ftable(ftable,GladeXML_Type_stub,GladeXML_Type);

}
